package com.budwk.app.wxprogram.models;

import com.budwk.starter.common.openapi.annotation.ApiModel;
import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import com.budwk.starter.database.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nutz.dao.entity.annotation.*;
import org.nutz.dao.interceptor.annotation.PrevInsert;

import java.io.Serializable;
import java.util.Date;


/**
 * 志愿者信息对象 wx_volunteer
 *
 * @author dfxy
 * @date 2023-04-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table("wx_volunteer")
@Comment("志愿者表")
@ApiModel(description = "志愿者表")
public class vx_volunteer extends BaseModel implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * $column.columnComment
     */
   // @TableId(value = "id")
    @Column
    @Comment("区域id")
    @Name
    @ApiModelProperty(description = "区域id")
    @ColDefine(type = ColType.VARCHAR, width = 64)
    @PrevInsert(els = {@EL("uuid()")})
    private String id;
    /**
     * 志愿者姓名
     */
    @Comment("上级区域ID")
    @Column
    @ApiModelProperty(description = "上级区域ID")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String name;
    /**
     * 性别
     */
    @Comment("上级区域ID")
    @Column
    @ApiModelProperty(description = "上级区域ID")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String sexual;
    /**
     * 授权手机号（取授权号码）
     */
    @Comment("上级区域ID")
    @Column
    @ApiModelProperty(description = "上级区域ID")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String phone;
    /**
     * 微信所在省份
     */
    @Comment("上级区域ID")
    @Column
    @ApiModelProperty(description = "上级区域ID")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String vxprovinces;
    /**
     * 微信所在城市
     */
    @Comment("上级区域ID")
    @Column
    @ApiModelProperty(description = "上级区域ID")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String vxcities;
    /**
     * 出生年份
     */
    @Comment("上级区域ID")
    @Column
    @ApiModelProperty(description = "上级区域ID")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String years;
    /**
     * 意向服务省份
     */
    @Comment("上级区域ID")
    @Column
    @ApiModelProperty(description = "上级区域ID")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String provinces;
    /**
     * 意向服务城市
     */
    @Comment("上级区域ID")
    @Column
    @ApiModelProperty(description = "上级区域ID")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String cities;
    /**
     * 意向服务区县
     */
    @Comment("上级区域ID")
    @Column
    @ApiModelProperty(description = "上级区域ID")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String districts;
    /**
     * 意向服务乡镇
     */
    @Comment("上级区域ID")
    @Column
    @ApiModelProperty(description = "上级区域ID")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String townships;
    /**
     * 意向服务类型
     */
    @Comment("上级区域ID")
    @Column
    @ApiModelProperty(description = "上级区域ID")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String servicetype;
    /**
     * 意向服务时间
     */
    @Comment("上级区域ID")
    @Column
    @ApiModelProperty(description = "上级区域ID")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String servicetime;
    /**
     * 注册时间
     */
    @Comment("上级区域ID")
    @Column
    @ApiModelProperty(description = "上级区域ID")
    @ColDefine(type = ColType.TIMESTAMP, width = 200)
    private Date registrationtime;


    /**
     * 志愿者openid
     */
    @Comment("上级区域ID")
    @Column
    @ApiModelProperty(description = "上级区域ID")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String openid;
    /**
     * 是否推送
     */
    @Comment("上级区域ID")
    @Column
    @ApiModelProperty(description = "上级区域ID")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String pushstatus;

}
